package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.dto.OrdersDto;
import com.itheima.entity.Orders;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;

/**
 * @author Tang
 * @date 2023/4/17
 */
public interface OrdersService extends IService<Orders> {
    //下单
    @Transactional
    void submit(Orders orders);


    R getuserPage(Integer page, Integer pageSize, HttpSession session);
    R<String> again(OrdersDto ordersDto);
}
